/// id : "1789197872207642646"
/// isDel : 0
/// createBy : "18735361162"
/// updateBy : null
/// createTime : 1715412989
/// updateTime : 1715413001
/// shopId : "1689120649082986545"
/// shopName : null
/// userId : "1720265592295837764"
/// userName : null
/// userHeadImg : null
/// amount : 0.01
/// discountAmount : 0
/// payAmount : 0.01
/// shopRealAmount : 0.01
/// serviceAmount : 0
/// status : 2
/// payTime : 1715413001
/// payTimeStr : "2024-05-11 15:36:41"
/// incomeTime : null
/// incomeTimeStr : null
/// paymentMethod : "微信"
/// shopDiscountType : null
/// shop : {"id":null,"isDel":null,"createBy":null,"updateBy":null,"createTime":null,"updateTime":null,"name":"途虎养车","type":null,"shopFacadePhoto":"business/a5fb9389-9eec-471a-a1b7-24d0b77913c9.jpg","category":null,"lon":null,"lat":null,"address":null,"areaXzqh":null,"xzqhCode":null,"description":null,"content":null,"phone":null,"email":null,"offLinePlaceName":null,"offLineProvinceCityArea":null,"offLineProvinceCityAreaId":null,"licensePhoto":null,"licenseShopName":null,"socialCode":null,"legalPersonName":null,"companyRegisteredAddress":null,"licenseTermType":null,"licenseValidityStart":null,"licenseValidityEnd":null,"certificateType":null,"certificateHeadPhoto":null,"certificateBackPhoto":null,"certificateName":null,"certificateNumber":null,"certificatePersonSex":null,"certificatePersonNation":null,"certificatePersonBirthday":null,"certificatePersonAddress":null,"certificateTermType":null,"certificateValidityStart":null,"certificateSignOrganization":null,"certificateValidityEnd":null,"accountType":null,"bank":null,"bankAddressCode":null,"bankName":null,"bankAccount":null,"subBank":null,"rateCategory":null,"paymentCode":null,"shopPoints":null,"examineType":null,"examineDescription":null,"status":null,"shopDetails":null,"wxExamineStatus":null,"wxExamineStatusMsg":null,"examineUser":null,"userId":null,"donatePercent":null,"showType":null,"shopAnnexList":[],"shopPhoto":null,"shopDiscountList":[],"distance":null,"honorCardNum":null,"wxMiniProgramPath":null}
/// donateAmount : 0
/// payStartTime : null
/// payEndTime : null
/// incomeStartTime : null
/// incomeEndTime : null
/// residueTime : null
/// complaint : true
/// elevate : true

class OrderDto {
  OrderDto({
      String? id, 
      num? isDel, 
      String? createBy, 
      dynamic updateBy, 
      num? createTime, 
      num? updateTime, 
      String? shopId, 
      dynamic shopName, 
      String? userId, 
      dynamic userName, 
      dynamic userHeadImg, 
      num? amount, 
      num? discountAmount, 
      num? payAmount, 
      num? shopRealAmount, 
      num? serviceAmount, 
      num? status, 
      num? payTime, 
      String? payTimeStr, 
      dynamic incomeTime, 
      dynamic incomeTimeStr, 
      String? paymentMethod, 
      dynamic shopDiscountType, 
      Shop? shop, 
      num? donateAmount, 
      dynamic payStartTime, 
      dynamic payEndTime, 
      dynamic incomeStartTime, 
      dynamic incomeEndTime, 
      dynamic residueTime, 
      bool? complaint, 
      bool? elevate,}){
    _id = id;
    _isDel = isDel;
    _createBy = createBy;
    _updateBy = updateBy;
    _createTime = createTime;
    _updateTime = updateTime;
    _shopId = shopId;
    _shopName = shopName;
    _userId = userId;
    _userName = userName;
    _userHeadImg = userHeadImg;
    _amount = amount;
    _discountAmount = discountAmount;
    _payAmount = payAmount;
    _shopRealAmount = shopRealAmount;
    _serviceAmount = serviceAmount;
    _status = status;
    _payTime = payTime;
    _payTimeStr = payTimeStr;
    _incomeTime = incomeTime;
    _incomeTimeStr = incomeTimeStr;
    _paymentMethod = paymentMethod;
    _shopDiscountType = shopDiscountType;
    _shop = shop;
    _donateAmount = donateAmount;
    _payStartTime = payStartTime;
    _payEndTime = payEndTime;
    _incomeStartTime = incomeStartTime;
    _incomeEndTime = incomeEndTime;
    _residueTime = residueTime;
    _complaint = complaint;
    _elevate = elevate;
}

  OrderDto.fromJson(dynamic json) {
    _id = json['id'];
    _isDel = json['isDel'];
    _createBy = json['createBy'];
    _updateBy = json['updateBy'];
    _createTime = json['createTime'];
    _updateTime = json['updateTime'];
    _shopId = json['shopId'];
    _shopName = json['shopName'];
    _userId = json['userId'];
    _userName = json['userName'];
    _userHeadImg = json['userHeadImg'];
    _amount = json['amount'];
    _discountAmount = json['discountAmount'];
    _payAmount = json['payAmount'];
    _shopRealAmount = json['shopRealAmount'];
    _serviceAmount = json['serviceAmount'];
    _status = json['status'];
    _payTime = json['payTime'];
    _payTimeStr = json['payTimeStr'];
    _incomeTime = json['incomeTime'];
    _incomeTimeStr = json['incomeTimeStr'];
    _paymentMethod = json['paymentMethod'];
    _shopDiscountType = json['shopDiscountType'];
    _shop = json['shop'] != null ? Shop.fromJson(json['shop']) : null;
    _donateAmount = json['donateAmount'];
    _payStartTime = json['payStartTime'];
    _payEndTime = json['payEndTime'];
    _incomeStartTime = json['incomeStartTime'];
    _incomeEndTime = json['incomeEndTime'];
    _residueTime = json['residueTime'];
    _complaint = json['complaint'];
    _elevate = json['elevate'];
  }
  String? _id;
  num? _isDel;
  String? _createBy;
  dynamic _updateBy;
  num? _createTime;
  num? _updateTime;
  String? _shopId;
  dynamic _shopName;
  String? _userId;
  dynamic _userName;
  dynamic _userHeadImg;
  num? _amount;
  num? _discountAmount;
  num? _payAmount;
  num? _shopRealAmount;
  num? _serviceAmount;
  num? _status;
  num? _payTime;
  String? _payTimeStr;
  dynamic _incomeTime;
  dynamic _incomeTimeStr;
  String? _paymentMethod;
  dynamic _shopDiscountType;
  Shop? _shop;
  num? _donateAmount;
  dynamic _payStartTime;
  dynamic _payEndTime;
  dynamic _incomeStartTime;
  dynamic _incomeEndTime;
  dynamic _residueTime;
  bool? _complaint;
  bool? _elevate;
OrderDto copyWith({  String? id,
  num? isDel,
  String? createBy,
  dynamic updateBy,
  num? createTime,
  num? updateTime,
  String? shopId,
  dynamic shopName,
  String? userId,
  dynamic userName,
  dynamic userHeadImg,
  num? amount,
  num? discountAmount,
  num? payAmount,
  num? shopRealAmount,
  num? serviceAmount,
  num? status,
  num? payTime,
  String? payTimeStr,
  dynamic incomeTime,
  dynamic incomeTimeStr,
  String? paymentMethod,
  dynamic shopDiscountType,
  Shop? shop,
  num? donateAmount,
  dynamic payStartTime,
  dynamic payEndTime,
  dynamic incomeStartTime,
  dynamic incomeEndTime,
  dynamic residueTime,
  bool? complaint,
  bool? elevate,
}) => OrderDto(  id: id ?? _id,
  isDel: isDel ?? _isDel,
  createBy: createBy ?? _createBy,
  updateBy: updateBy ?? _updateBy,
  createTime: createTime ?? _createTime,
  updateTime: updateTime ?? _updateTime,
  shopId: shopId ?? _shopId,
  shopName: shopName ?? _shopName,
  userId: userId ?? _userId,
  userName: userName ?? _userName,
  userHeadImg: userHeadImg ?? _userHeadImg,
  amount: amount ?? _amount,
  discountAmount: discountAmount ?? _discountAmount,
  payAmount: payAmount ?? _payAmount,
  shopRealAmount: shopRealAmount ?? _shopRealAmount,
  serviceAmount: serviceAmount ?? _serviceAmount,
  status: status ?? _status,
  payTime: payTime ?? _payTime,
  payTimeStr: payTimeStr ?? _payTimeStr,
  incomeTime: incomeTime ?? _incomeTime,
  incomeTimeStr: incomeTimeStr ?? _incomeTimeStr,
  paymentMethod: paymentMethod ?? _paymentMethod,
  shopDiscountType: shopDiscountType ?? _shopDiscountType,
  shop: shop ?? _shop,
  donateAmount: donateAmount ?? _donateAmount,
  payStartTime: payStartTime ?? _payStartTime,
  payEndTime: payEndTime ?? _payEndTime,
  incomeStartTime: incomeStartTime ?? _incomeStartTime,
  incomeEndTime: incomeEndTime ?? _incomeEndTime,
  residueTime: residueTime ?? _residueTime,
  complaint: complaint ?? _complaint,
  elevate: elevate ?? _elevate,
);
  String? get id => _id;
  num? get isDel => _isDel;
  String? get createBy => _createBy;
  dynamic get updateBy => _updateBy;
  num? get createTime => _createTime;
  num? get updateTime => _updateTime;
  String? get shopId => _shopId;
  dynamic get shopName => _shopName;
  String? get userId => _userId;
  dynamic get userName => _userName;
  dynamic get userHeadImg => _userHeadImg;
  num? get amount => _amount;
  num? get discountAmount => _discountAmount;
  num? get payAmount => _payAmount;
  num? get shopRealAmount => _shopRealAmount;
  num? get serviceAmount => _serviceAmount;
  num? get status => _status;
  num? get payTime => _payTime;
  String? get payTimeStr => _payTimeStr;
  dynamic get incomeTime => _incomeTime;
  dynamic get incomeTimeStr => _incomeTimeStr;
  String? get paymentMethod => _paymentMethod;
  dynamic get shopDiscountType => _shopDiscountType;
  Shop? get shop => _shop;
  num? get donateAmount => _donateAmount;
  dynamic get payStartTime => _payStartTime;
  dynamic get payEndTime => _payEndTime;
  dynamic get incomeStartTime => _incomeStartTime;
  dynamic get incomeEndTime => _incomeEndTime;
  dynamic get residueTime => _residueTime;
  bool? get complaint => _complaint;
  bool? get elevate => _elevate;

  Map<String, dynamic> toJson() {
    final map = <String, dynamic>{};
    map['id'] = _id;
    map['isDel'] = _isDel;
    map['createBy'] = _createBy;
    map['updateBy'] = _updateBy;
    map['createTime'] = _createTime;
    map['updateTime'] = _updateTime;
    map['shopId'] = _shopId;
    map['shopName'] = _shopName;
    map['userId'] = _userId;
    map['userName'] = _userName;
    map['userHeadImg'] = _userHeadImg;
    map['amount'] = _amount;
    map['discountAmount'] = _discountAmount;
    map['payAmount'] = _payAmount;
    map['shopRealAmount'] = _shopRealAmount;
    map['serviceAmount'] = _serviceAmount;
    map['status'] = _status;
    map['payTime'] = _payTime;
    map['payTimeStr'] = _payTimeStr;
    map['incomeTime'] = _incomeTime;
    map['incomeTimeStr'] = _incomeTimeStr;
    map['paymentMethod'] = _paymentMethod;
    map['shopDiscountType'] = _shopDiscountType;
    if (_shop != null) {
      map['shop'] = _shop?.toJson();
    }
    map['donateAmount'] = _donateAmount;
    map['payStartTime'] = _payStartTime;
    map['payEndTime'] = _payEndTime;
    map['incomeStartTime'] = _incomeStartTime;
    map['incomeEndTime'] = _incomeEndTime;
    map['residueTime'] = _residueTime;
    map['complaint'] = _complaint;
    map['elevate'] = _elevate;
    return map;
  }

}

/// id : null
/// isDel : null
/// createBy : null
/// updateBy : null
/// createTime : null
/// updateTime : null
/// name : "途虎养车"
/// type : null
/// shopFacadePhoto : "business/a5fb9389-9eec-471a-a1b7-24d0b77913c9.jpg"
/// category : null
/// lon : null
/// lat : null
/// address : null
/// areaXzqh : null
/// xzqhCode : null
/// description : null
/// content : null
/// phone : null
/// email : null
/// offLinePlaceName : null
/// offLineProvinceCityArea : null
/// offLineProvinceCityAreaId : null
/// licensePhoto : null
/// licenseShopName : null
/// socialCode : null
/// legalPersonName : null
/// companyRegisteredAddress : null
/// licenseTermType : null
/// licenseValidityStart : null
/// licenseValidityEnd : null
/// certificateType : null
/// certificateHeadPhoto : null
/// certificateBackPhoto : null
/// certificateName : null
/// certificateNumber : null
/// certificatePersonSex : null
/// certificatePersonNation : null
/// certificatePersonBirthday : null
/// certificatePersonAddress : null
/// certificateTermType : null
/// certificateValidityStart : null
/// certificateSignOrganization : null
/// certificateValidityEnd : null
/// accountType : null
/// bank : null
/// bankAddressCode : null
/// bankName : null
/// bankAccount : null
/// subBank : null
/// rateCategory : null
/// paymentCode : null
/// shopPoints : null
/// examineType : null
/// examineDescription : null
/// status : null
/// shopDetails : null
/// wxExamineStatus : null
/// wxExamineStatusMsg : null
/// examineUser : null
/// userId : null
/// donatePercent : null
/// showType : null
/// shopAnnexList : []
/// shopPhoto : null
/// shopDiscountList : []
/// distance : null
/// honorCardNum : null
/// wxMiniProgramPath : null

class Shop {
  Shop({
      dynamic id, 
      dynamic isDel, 
      dynamic createBy, 
      dynamic updateBy, 
      dynamic createTime, 
      dynamic updateTime, 
      String? name, 
      dynamic type, 
      String? shopFacadePhoto, 
      dynamic category, 
      dynamic lon, 
      dynamic lat, 
      dynamic address, 
      dynamic areaXzqh, 
      dynamic xzqhCode, 
      dynamic description, 
      dynamic content, 
      dynamic phone, 
      dynamic email, 
      dynamic offLinePlaceName, 
      dynamic offLineProvinceCityArea, 
      dynamic offLineProvinceCityAreaId, 
      dynamic licensePhoto, 
      dynamic licenseShopName, 
      dynamic socialCode, 
      dynamic legalPersonName, 
      dynamic companyRegisteredAddress, 
      dynamic licenseTermType, 
      dynamic licenseValidityStart, 
      dynamic licenseValidityEnd, 
      dynamic certificateType, 
      dynamic certificateHeadPhoto, 
      dynamic certificateBackPhoto, 
      dynamic certificateName, 
      dynamic certificateNumber, 
      dynamic certificatePersonSex, 
      dynamic certificatePersonNation, 
      dynamic certificatePersonBirthday, 
      dynamic certificatePersonAddress, 
      dynamic certificateTermType, 
      dynamic certificateValidityStart, 
      dynamic certificateSignOrganization, 
      dynamic certificateValidityEnd, 
      dynamic accountType, 
      dynamic bank, 
      dynamic bankAddressCode, 
      dynamic bankName, 
      dynamic bankAccount, 
      dynamic subBank, 
      dynamic rateCategory, 
      dynamic paymentCode, 
      dynamic shopPoints, 
      dynamic examineType, 
      dynamic examineDescription, 
      dynamic status, 
      dynamic shopDetails, 
      dynamic wxExamineStatus, 
      dynamic wxExamineStatusMsg, 
      dynamic examineUser, 
      dynamic userId, 
      dynamic donatePercent, 
      dynamic showType, 
      List<dynamic>? shopAnnexList, 
      dynamic shopPhoto, 
      List<dynamic>? shopDiscountList, 
      dynamic distance, 
      dynamic honorCardNum, 
      dynamic wxMiniProgramPath,}){
    _id = id;
    _isDel = isDel;
    _createBy = createBy;
    _updateBy = updateBy;
    _createTime = createTime;
    _updateTime = updateTime;
    _name = name;
    _type = type;
    _shopFacadePhoto = shopFacadePhoto;
    _category = category;
    _lon = lon;
    _lat = lat;
    _address = address;
    _areaXzqh = areaXzqh;
    _xzqhCode = xzqhCode;
    _description = description;
    _content = content;
    _phone = phone;
    _email = email;
    _offLinePlaceName = offLinePlaceName;
    _offLineProvinceCityArea = offLineProvinceCityArea;
    _offLineProvinceCityAreaId = offLineProvinceCityAreaId;
    _licensePhoto = licensePhoto;
    _licenseShopName = licenseShopName;
    _socialCode = socialCode;
    _legalPersonName = legalPersonName;
    _companyRegisteredAddress = companyRegisteredAddress;
    _licenseTermType = licenseTermType;
    _licenseValidityStart = licenseValidityStart;
    _licenseValidityEnd = licenseValidityEnd;
    _certificateType = certificateType;
    _certificateHeadPhoto = certificateHeadPhoto;
    _certificateBackPhoto = certificateBackPhoto;
    _certificateName = certificateName;
    _certificateNumber = certificateNumber;
    _certificatePersonSex = certificatePersonSex;
    _certificatePersonNation = certificatePersonNation;
    _certificatePersonBirthday = certificatePersonBirthday;
    _certificatePersonAddress = certificatePersonAddress;
    _certificateTermType = certificateTermType;
    _certificateValidityStart = certificateValidityStart;
    _certificateSignOrganization = certificateSignOrganization;
    _certificateValidityEnd = certificateValidityEnd;
    _accountType = accountType;
    _bank = bank;
    _bankAddressCode = bankAddressCode;
    _bankName = bankName;
    _bankAccount = bankAccount;
    _subBank = subBank;
    _rateCategory = rateCategory;
    _paymentCode = paymentCode;
    _shopPoints = shopPoints;
    _examineType = examineType;
    _examineDescription = examineDescription;
    _status = status;
    _shopDetails = shopDetails;
    _wxExamineStatus = wxExamineStatus;
    _wxExamineStatusMsg = wxExamineStatusMsg;
    _examineUser = examineUser;
    _userId = userId;
    _donatePercent = donatePercent;
    _showType = showType;
    _shopAnnexList = shopAnnexList;
    _shopPhoto = shopPhoto;
    _shopDiscountList = shopDiscountList;
    _distance = distance;
    _honorCardNum = honorCardNum;
    _wxMiniProgramPath = wxMiniProgramPath;
}

  Shop.fromJson(dynamic json) {
    _id = json['id'];
    _isDel = json['isDel'];
    _createBy = json['createBy'];
    _updateBy = json['updateBy'];
    _createTime = json['createTime'];
    _updateTime = json['updateTime'];
    _name = json['name'];
    _type = json['type'];
    _shopFacadePhoto = json['shopFacadePhoto'];
    _category = json['category'];
    _lon = json['lon'];
    _lat = json['lat'];
    _address = json['address'];
    _areaXzqh = json['areaXzqh'];
    _xzqhCode = json['xzqhCode'];
    _description = json['description'];
    _content = json['content'];
    _phone = json['phone'];
    _email = json['email'];
    _offLinePlaceName = json['offLinePlaceName'];
    _offLineProvinceCityArea = json['offLineProvinceCityArea'];
    _offLineProvinceCityAreaId = json['offLineProvinceCityAreaId'];
    _licensePhoto = json['licensePhoto'];
    _licenseShopName = json['licenseShopName'];
    _socialCode = json['socialCode'];
    _legalPersonName = json['legalPersonName'];
    _companyRegisteredAddress = json['companyRegisteredAddress'];
    _licenseTermType = json['licenseTermType'];
    _licenseValidityStart = json['licenseValidityStart'];
    _licenseValidityEnd = json['licenseValidityEnd'];
    _certificateType = json['certificateType'];
    _certificateHeadPhoto = json['certificateHeadPhoto'];
    _certificateBackPhoto = json['certificateBackPhoto'];
    _certificateName = json['certificateName'];
    _certificateNumber = json['certificateNumber'];
    _certificatePersonSex = json['certificatePersonSex'];
    _certificatePersonNation = json['certificatePersonNation'];
    _certificatePersonBirthday = json['certificatePersonBirthday'];
    _certificatePersonAddress = json['certificatePersonAddress'];
    _certificateTermType = json['certificateTermType'];
    _certificateValidityStart = json['certificateValidityStart'];
    _certificateSignOrganization = json['certificateSignOrganization'];
    _certificateValidityEnd = json['certificateValidityEnd'];
    _accountType = json['accountType'];
    _bank = json['bank'];
    _bankAddressCode = json['bankAddressCode'];
    _bankName = json['bankName'];
    _bankAccount = json['bankAccount'];
    _subBank = json['subBank'];
    _rateCategory = json['rateCategory'];
    _paymentCode = json['paymentCode'];
    _shopPoints = json['shopPoints'];
    _examineType = json['examineType'];
    _examineDescription = json['examineDescription'];
    _status = json['status'];
    _shopDetails = json['shopDetails'];
    _wxExamineStatus = json['wxExamineStatus'];
    _wxExamineStatusMsg = json['wxExamineStatusMsg'];
    _examineUser = json['examineUser'];
    _userId = json['userId'];
    _donatePercent = json['donatePercent'];
    _showType = json['showType'];
    if (json['shopAnnexList'] != null) {
      _shopAnnexList = [];
      json['shopAnnexList'].forEach((v) {
        _shopAnnexList?.add(v);
      });
    }
    _shopPhoto = json['shopPhoto'];
    if (json['shopDiscountList'] != null) {
      _shopDiscountList = [];
      json['shopDiscountList'].forEach((v) {
        _shopDiscountList?.add(v);
      });
    }
    _distance = json['distance'];
    _honorCardNum = json['honorCardNum'];
    _wxMiniProgramPath = json['wxMiniProgramPath'];
  }
  dynamic _id;
  dynamic _isDel;
  dynamic _createBy;
  dynamic _updateBy;
  dynamic _createTime;
  dynamic _updateTime;
  String? _name;
  dynamic _type;
  String? _shopFacadePhoto;
  dynamic _category;
  dynamic _lon;
  dynamic _lat;
  dynamic _address;
  dynamic _areaXzqh;
  dynamic _xzqhCode;
  dynamic _description;
  dynamic _content;
  dynamic _phone;
  dynamic _email;
  dynamic _offLinePlaceName;
  dynamic _offLineProvinceCityArea;
  dynamic _offLineProvinceCityAreaId;
  dynamic _licensePhoto;
  dynamic _licenseShopName;
  dynamic _socialCode;
  dynamic _legalPersonName;
  dynamic _companyRegisteredAddress;
  dynamic _licenseTermType;
  dynamic _licenseValidityStart;
  dynamic _licenseValidityEnd;
  dynamic _certificateType;
  dynamic _certificateHeadPhoto;
  dynamic _certificateBackPhoto;
  dynamic _certificateName;
  dynamic _certificateNumber;
  dynamic _certificatePersonSex;
  dynamic _certificatePersonNation;
  dynamic _certificatePersonBirthday;
  dynamic _certificatePersonAddress;
  dynamic _certificateTermType;
  dynamic _certificateValidityStart;
  dynamic _certificateSignOrganization;
  dynamic _certificateValidityEnd;
  dynamic _accountType;
  dynamic _bank;
  dynamic _bankAddressCode;
  dynamic _bankName;
  dynamic _bankAccount;
  dynamic _subBank;
  dynamic _rateCategory;
  dynamic _paymentCode;
  dynamic _shopPoints;
  dynamic _examineType;
  dynamic _examineDescription;
  dynamic _status;
  dynamic _shopDetails;
  dynamic _wxExamineStatus;
  dynamic _wxExamineStatusMsg;
  dynamic _examineUser;
  dynamic _userId;
  dynamic _donatePercent;
  dynamic _showType;
  List<dynamic>? _shopAnnexList;
  dynamic _shopPhoto;
  List<dynamic>? _shopDiscountList;
  dynamic _distance;
  dynamic _honorCardNum;
  dynamic _wxMiniProgramPath;
Shop copyWith({  dynamic id,
  dynamic isDel,
  dynamic createBy,
  dynamic updateBy,
  dynamic createTime,
  dynamic updateTime,
  String? name,
  dynamic type,
  String? shopFacadePhoto,
  dynamic category,
  dynamic lon,
  dynamic lat,
  dynamic address,
  dynamic areaXzqh,
  dynamic xzqhCode,
  dynamic description,
  dynamic content,
  dynamic phone,
  dynamic email,
  dynamic offLinePlaceName,
  dynamic offLineProvinceCityArea,
  dynamic offLineProvinceCityAreaId,
  dynamic licensePhoto,
  dynamic licenseShopName,
  dynamic socialCode,
  dynamic legalPersonName,
  dynamic companyRegisteredAddress,
  dynamic licenseTermType,
  dynamic licenseValidityStart,
  dynamic licenseValidityEnd,
  dynamic certificateType,
  dynamic certificateHeadPhoto,
  dynamic certificateBackPhoto,
  dynamic certificateName,
  dynamic certificateNumber,
  dynamic certificatePersonSex,
  dynamic certificatePersonNation,
  dynamic certificatePersonBirthday,
  dynamic certificatePersonAddress,
  dynamic certificateTermType,
  dynamic certificateValidityStart,
  dynamic certificateSignOrganization,
  dynamic certificateValidityEnd,
  dynamic accountType,
  dynamic bank,
  dynamic bankAddressCode,
  dynamic bankName,
  dynamic bankAccount,
  dynamic subBank,
  dynamic rateCategory,
  dynamic paymentCode,
  dynamic shopPoints,
  dynamic examineType,
  dynamic examineDescription,
  dynamic status,
  dynamic shopDetails,
  dynamic wxExamineStatus,
  dynamic wxExamineStatusMsg,
  dynamic examineUser,
  dynamic userId,
  dynamic donatePercent,
  dynamic showType,
  List<dynamic>? shopAnnexList,
  dynamic shopPhoto,
  List<dynamic>? shopDiscountList,
  dynamic distance,
  dynamic honorCardNum,
  dynamic wxMiniProgramPath,
}) => Shop(  id: id ?? _id,
  isDel: isDel ?? _isDel,
  createBy: createBy ?? _createBy,
  updateBy: updateBy ?? _updateBy,
  createTime: createTime ?? _createTime,
  updateTime: updateTime ?? _updateTime,
  name: name ?? _name,
  type: type ?? _type,
  shopFacadePhoto: shopFacadePhoto ?? _shopFacadePhoto,
  category: category ?? _category,
  lon: lon ?? _lon,
  lat: lat ?? _lat,
  address: address ?? _address,
  areaXzqh: areaXzqh ?? _areaXzqh,
  xzqhCode: xzqhCode ?? _xzqhCode,
  description: description ?? _description,
  content: content ?? _content,
  phone: phone ?? _phone,
  email: email ?? _email,
  offLinePlaceName: offLinePlaceName ?? _offLinePlaceName,
  offLineProvinceCityArea: offLineProvinceCityArea ?? _offLineProvinceCityArea,
  offLineProvinceCityAreaId: offLineProvinceCityAreaId ?? _offLineProvinceCityAreaId,
  licensePhoto: licensePhoto ?? _licensePhoto,
  licenseShopName: licenseShopName ?? _licenseShopName,
  socialCode: socialCode ?? _socialCode,
  legalPersonName: legalPersonName ?? _legalPersonName,
  companyRegisteredAddress: companyRegisteredAddress ?? _companyRegisteredAddress,
  licenseTermType: licenseTermType ?? _licenseTermType,
  licenseValidityStart: licenseValidityStart ?? _licenseValidityStart,
  licenseValidityEnd: licenseValidityEnd ?? _licenseValidityEnd,
  certificateType: certificateType ?? _certificateType,
  certificateHeadPhoto: certificateHeadPhoto ?? _certificateHeadPhoto,
  certificateBackPhoto: certificateBackPhoto ?? _certificateBackPhoto,
  certificateName: certificateName ?? _certificateName,
  certificateNumber: certificateNumber ?? _certificateNumber,
  certificatePersonSex: certificatePersonSex ?? _certificatePersonSex,
  certificatePersonNation: certificatePersonNation ?? _certificatePersonNation,
  certificatePersonBirthday: certificatePersonBirthday ?? _certificatePersonBirthday,
  certificatePersonAddress: certificatePersonAddress ?? _certificatePersonAddress,
  certificateTermType: certificateTermType ?? _certificateTermType,
  certificateValidityStart: certificateValidityStart ?? _certificateValidityStart,
  certificateSignOrganization: certificateSignOrganization ?? _certificateSignOrganization,
  certificateValidityEnd: certificateValidityEnd ?? _certificateValidityEnd,
  accountType: accountType ?? _accountType,
  bank: bank ?? _bank,
  bankAddressCode: bankAddressCode ?? _bankAddressCode,
  bankName: bankName ?? _bankName,
  bankAccount: bankAccount ?? _bankAccount,
  subBank: subBank ?? _subBank,
  rateCategory: rateCategory ?? _rateCategory,
  paymentCode: paymentCode ?? _paymentCode,
  shopPoints: shopPoints ?? _shopPoints,
  examineType: examineType ?? _examineType,
  examineDescription: examineDescription ?? _examineDescription,
  status: status ?? _status,
  shopDetails: shopDetails ?? _shopDetails,
  wxExamineStatus: wxExamineStatus ?? _wxExamineStatus,
  wxExamineStatusMsg: wxExamineStatusMsg ?? _wxExamineStatusMsg,
  examineUser: examineUser ?? _examineUser,
  userId: userId ?? _userId,
  donatePercent: donatePercent ?? _donatePercent,
  showType: showType ?? _showType,
  shopAnnexList: shopAnnexList ?? _shopAnnexList,
  shopPhoto: shopPhoto ?? _shopPhoto,
  shopDiscountList: shopDiscountList ?? _shopDiscountList,
  distance: distance ?? _distance,
  honorCardNum: honorCardNum ?? _honorCardNum,
  wxMiniProgramPath: wxMiniProgramPath ?? _wxMiniProgramPath,
);
  dynamic get id => _id;
  dynamic get isDel => _isDel;
  dynamic get createBy => _createBy;
  dynamic get updateBy => _updateBy;
  dynamic get createTime => _createTime;
  dynamic get updateTime => _updateTime;
  String? get name => _name;
  dynamic get type => _type;
  String? get shopFacadePhoto => _shopFacadePhoto;
  dynamic get category => _category;
  dynamic get lon => _lon;
  dynamic get lat => _lat;
  dynamic get address => _address;
  dynamic get areaXzqh => _areaXzqh;
  dynamic get xzqhCode => _xzqhCode;
  dynamic get description => _description;
  dynamic get content => _content;
  dynamic get phone => _phone;
  dynamic get email => _email;
  dynamic get offLinePlaceName => _offLinePlaceName;
  dynamic get offLineProvinceCityArea => _offLineProvinceCityArea;
  dynamic get offLineProvinceCityAreaId => _offLineProvinceCityAreaId;
  dynamic get licensePhoto => _licensePhoto;
  dynamic get licenseShopName => _licenseShopName;
  dynamic get socialCode => _socialCode;
  dynamic get legalPersonName => _legalPersonName;
  dynamic get companyRegisteredAddress => _companyRegisteredAddress;
  dynamic get licenseTermType => _licenseTermType;
  dynamic get licenseValidityStart => _licenseValidityStart;
  dynamic get licenseValidityEnd => _licenseValidityEnd;
  dynamic get certificateType => _certificateType;
  dynamic get certificateHeadPhoto => _certificateHeadPhoto;
  dynamic get certificateBackPhoto => _certificateBackPhoto;
  dynamic get certificateName => _certificateName;
  dynamic get certificateNumber => _certificateNumber;
  dynamic get certificatePersonSex => _certificatePersonSex;
  dynamic get certificatePersonNation => _certificatePersonNation;
  dynamic get certificatePersonBirthday => _certificatePersonBirthday;
  dynamic get certificatePersonAddress => _certificatePersonAddress;
  dynamic get certificateTermType => _certificateTermType;
  dynamic get certificateValidityStart => _certificateValidityStart;
  dynamic get certificateSignOrganization => _certificateSignOrganization;
  dynamic get certificateValidityEnd => _certificateValidityEnd;
  dynamic get accountType => _accountType;
  dynamic get bank => _bank;
  dynamic get bankAddressCode => _bankAddressCode;
  dynamic get bankName => _bankName;
  dynamic get bankAccount => _bankAccount;
  dynamic get subBank => _subBank;
  dynamic get rateCategory => _rateCategory;
  dynamic get paymentCode => _paymentCode;
  dynamic get shopPoints => _shopPoints;
  dynamic get examineType => _examineType;
  dynamic get examineDescription => _examineDescription;
  dynamic get status => _status;
  dynamic get shopDetails => _shopDetails;
  dynamic get wxExamineStatus => _wxExamineStatus;
  dynamic get wxExamineStatusMsg => _wxExamineStatusMsg;
  dynamic get examineUser => _examineUser;
  dynamic get userId => _userId;
  dynamic get donatePercent => _donatePercent;
  dynamic get showType => _showType;
  List<dynamic>? get shopAnnexList => _shopAnnexList;
  dynamic get shopPhoto => _shopPhoto;
  List<dynamic>? get shopDiscountList => _shopDiscountList;
  dynamic get distance => _distance;
  dynamic get honorCardNum => _honorCardNum;
  dynamic get wxMiniProgramPath => _wxMiniProgramPath;

  Map<String, dynamic> toJson() {
    final map = <String, dynamic>{};
    map['id'] = _id;
    map['isDel'] = _isDel;
    map['createBy'] = _createBy;
    map['updateBy'] = _updateBy;
    map['createTime'] = _createTime;
    map['updateTime'] = _updateTime;
    map['name'] = _name;
    map['type'] = _type;
    map['shopFacadePhoto'] = _shopFacadePhoto;
    map['category'] = _category;
    map['lon'] = _lon;
    map['lat'] = _lat;
    map['address'] = _address;
    map['areaXzqh'] = _areaXzqh;
    map['xzqhCode'] = _xzqhCode;
    map['description'] = _description;
    map['content'] = _content;
    map['phone'] = _phone;
    map['email'] = _email;
    map['offLinePlaceName'] = _offLinePlaceName;
    map['offLineProvinceCityArea'] = _offLineProvinceCityArea;
    map['offLineProvinceCityAreaId'] = _offLineProvinceCityAreaId;
    map['licensePhoto'] = _licensePhoto;
    map['licenseShopName'] = _licenseShopName;
    map['socialCode'] = _socialCode;
    map['legalPersonName'] = _legalPersonName;
    map['companyRegisteredAddress'] = _companyRegisteredAddress;
    map['licenseTermType'] = _licenseTermType;
    map['licenseValidityStart'] = _licenseValidityStart;
    map['licenseValidityEnd'] = _licenseValidityEnd;
    map['certificateType'] = _certificateType;
    map['certificateHeadPhoto'] = _certificateHeadPhoto;
    map['certificateBackPhoto'] = _certificateBackPhoto;
    map['certificateName'] = _certificateName;
    map['certificateNumber'] = _certificateNumber;
    map['certificatePersonSex'] = _certificatePersonSex;
    map['certificatePersonNation'] = _certificatePersonNation;
    map['certificatePersonBirthday'] = _certificatePersonBirthday;
    map['certificatePersonAddress'] = _certificatePersonAddress;
    map['certificateTermType'] = _certificateTermType;
    map['certificateValidityStart'] = _certificateValidityStart;
    map['certificateSignOrganization'] = _certificateSignOrganization;
    map['certificateValidityEnd'] = _certificateValidityEnd;
    map['accountType'] = _accountType;
    map['bank'] = _bank;
    map['bankAddressCode'] = _bankAddressCode;
    map['bankName'] = _bankName;
    map['bankAccount'] = _bankAccount;
    map['subBank'] = _subBank;
    map['rateCategory'] = _rateCategory;
    map['paymentCode'] = _paymentCode;
    map['shopPoints'] = _shopPoints;
    map['examineType'] = _examineType;
    map['examineDescription'] = _examineDescription;
    map['status'] = _status;
    map['shopDetails'] = _shopDetails;
    map['wxExamineStatus'] = _wxExamineStatus;
    map['wxExamineStatusMsg'] = _wxExamineStatusMsg;
    map['examineUser'] = _examineUser;
    map['userId'] = _userId;
    map['donatePercent'] = _donatePercent;
    map['showType'] = _showType;
    if (_shopAnnexList != null) {
      map['shopAnnexList'] = _shopAnnexList?.map((v) => v.toJson()).toList();
    }
    map['shopPhoto'] = _shopPhoto;
    if (_shopDiscountList != null) {
      map['shopDiscountList'] = _shopDiscountList?.map((v) => v.toJson()).toList();
    }
    map['distance'] = _distance;
    map['honorCardNum'] = _honorCardNum;
    map['wxMiniProgramPath'] = _wxMiniProgramPath;
    return map;
  }

}